package com.example.modelviewpresenter.Presenter;

import android.view.View;

import com.example.modelviewpresenter.Model.InitModel;
import com.example.modelviewpresenter.View.InitView;

public class BasterPresenter <V extends InitView,M extends InitModel> implements InitPresenter{
    protected  V   iew;
    protected  M  asd;

    public BasterPresenter(V iew, M asd) {
        this.iew = iew;
        this.asd = asd;
    }

    @Override
    public void DiterPresenter() {
        if (asd!=null)
        {
            asd=null;
            asd.DiterModel();
        }
        if (iew!=null)
        {
            iew = null;
        }
    }
}
